package com.dhcc.core.modules.system.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.DataEntity;


/**
 * 职务
 * 
 * @ClassName: Position
 * @Description: TODO
 * @author mk
 * @date 2018-08-28 08:52:01
 */
@TableName("sys_position") 
public class Position extends DataEntity<Position> {
	private static final long serialVersionUID = 1L;
	
	//编码
	private String code;	
	//名称
	private String name;	
	//描述
	private String description;	
	//职别
	private Integer levels;	
	//排序
	private Integer weight;	

	/**
	 * 设置：编码
	 */
	public void setCode(String code) {
		this.code = code;
	}
	/**
	 * 获取：编码
	 */
	public String getCode() {
		return code;
	}
	/**
	 * 设置：名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：描述
	 */
	public void setDescription(String description) {
		this.description = description;
	}
	/**
	 * 获取：描述
	 */
	public String getDescription() {
		return description;
	}
	/**
	 * 设置：职别
	 */
	public void setLevels(Integer levels) {
		this.levels = levels;
	}
	/**
	 * 获取：职别
	 */
	public Integer getLevels() {
		return levels;
	}
	/**
	 * 设置：排序
	 */
	public void setWeight(Integer weight) {
		this.weight = weight;
	}
	/**
	 * 获取：排序
	 */
	public Integer getWeight() {
		return weight;
	}
}
